package com.quanxiaoha.weblog.common.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.quanxiaoha.weblog.common.domain.query.CensusQuery;
import com.quanxiaoha.weblog.common.domain.query.CountQuery;
import com.quanxiaoha.weblog.common.domain.vo.*;
import com.quanxiaoha.weblog.common.domain.entity.ScheduleRecord;
import com.quanxiaoha.weblog.common.domain.query.RecordQuery;
import com.quanxiaoha.weblog.common.domain.query.ScheduleRecordQuery;

import java.util.List;
import java.util.Map;

public interface ScheduleRecordService  extends IService<ScheduleRecord> {


    /**
     * 获取记录
     */
    Page<ScheduleRecordVo> RecordList(RecordQuery recordQuery);

    /**
     * 记录详情
     */
    ScheduleRecordVo getRecord(Integer id);

    /**
     * 新增记录
     */
    void insertRecord(ScheduleRecordQuery scheduleRecordQuery);

    /**
     * 修改记录
     */
    void updateRecord(ScheduleRecordQuery scheduleRecordQuery);

    /**
     * 删除记录
     */
    void deleteRecord(Integer id);

    List<ScheduleTagVo> tagList();

    List<CensusVo> census(CensusQuery query);

    List<CensusVo> censusByFeeling(CensusQuery query);

    List<ReverseVo> reverseList(RecordQuery recordQuery);

    void calculateTask(Integer tagId);

}
